package com.datastructure.test.subofbiginteger;

import java.math.BigInteger;

public class SubOfBigInteger {

    public static void main(String[] args) {

    }

    public String substring (String num1, String num2) {
        // write code here
        BigInteger bigInteger1 = new BigInteger(num1);
        BigInteger bigInteger2 = new BigInteger(num2);
        BigInteger subtract = bigInteger1.subtract(bigInteger2);
        return subtract.toString();
    }
}
